package com.zhiyou.app.shop.website.dao.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

public class StockInfo implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private String id;
	private Integer periods;
	private BigDecimal openingPrice;
	private BigDecimal closingPrice;
	private BigDecimal highestPrice;
	private BigDecimal bottomPrice;
	private BigDecimal currentPrice;
	private Timestamp startDate;
	private Timestamp endDate;
	private Integer tradingCapacity;
	private Timestamp createDate;
	
	public StockInfo(){
		
	}
	
	public StockInfo(Integer periods,BigDecimal openingPrice,BigDecimal closingPrice,BigDecimal highestPrice, 
					BigDecimal bottomPrice,BigDecimal currentPrice,Timestamp startDate,Timestamp endDate,Integer tradingCapacity,Timestamp createDate){
		this.periods = periods;
		this.openingPrice = openingPrice;
		this.closingPrice = closingPrice;
		this.highestPrice = highestPrice;
		this.bottomPrice = bottomPrice;
		this.currentPrice = currentPrice;
		this.startDate = startDate;
		this.endDate = endDate;
		this.tradingCapacity = tradingCapacity;
		this.createDate = createDate;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getPeriods() {
		return periods;
	}

	public void setPeriods(Integer periods) {
		this.periods = periods;
	}

	public BigDecimal getOpeningPrice() {
		return openingPrice;
	}

	public void setOpeningPrice(BigDecimal openingPrice) {
		this.openingPrice = openingPrice;
	}

	public BigDecimal getClosingPrice() {
		return closingPrice;
	}

	public void setClosingPrice(BigDecimal closingPrice) {
		this.closingPrice = closingPrice;
	}

	public BigDecimal getHighestPrice() {
		return highestPrice;
	}

	public void setHighestPrice(BigDecimal highestPrice) {
		this.highestPrice = highestPrice;
	}

	public BigDecimal getBottomPrice() {
		return bottomPrice;
	}

	public void setBottomPrice(BigDecimal bottomPrice) {
		this.bottomPrice = bottomPrice;
	}

	public BigDecimal getCurrentPrice() {
		return currentPrice;
	}

	public void setCurrentPrice(BigDecimal currentPrice) {
		this.currentPrice = currentPrice;
	}

	public Timestamp getStartDate() {
		return startDate;
	}

	public void setStartDate(Timestamp startDate) {
		this.startDate = startDate;
	}

	public Timestamp getEndDate() {
		return endDate;
	}

	public void setEndDate(Timestamp endDate) {
		this.endDate = endDate;
	}

	public Integer getTradingCapacity() {
		return tradingCapacity;
	}

	public void setTradingCapacity(Integer tradingCapacity) {
		this.tradingCapacity = tradingCapacity;
	}

	public Timestamp getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}
	
}
